<?php
/* -------------------------------------------------------------------------------------
* 	ID:						$Id: general.js.php 140 2013-09-22 07:44:23Z phone.mueller@googlemail.com $
* 	Letzter Stand:			$Revision: 140 $
* 	zuletzt geaendert von:	$Author: siekiera $
* 	Datum:					$Date: 2013-09-22 07:44:23 +0000 (Sun, 22 Sep 2013) $
*
* 	SEO:mercari by Siekiera Media
* 	http://www.seo-mercari.de
*
* 	Copyright © since 2011 SEO:mercari
* --------------------------------------------------------------------------------------
* 	based on:
* 	© 2000-2001 The Exchange Project  (earlier name of osCommerce)
* 	© 2002-2003 osCommerce - www.oscommerce.com
* 	© 2003     nextcommerce - www.nextcommerce.org
* 	© 2005     xt:Commerce - www.xt-commerce.com
*
* 	Released under the GNU General Public License
* ----------------------------------------------------------------------------------- */
?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link href="templates/mobile/css/mobile.addon.css" rel="stylesheet" type="text/css" / >
<link href="//code.jquery.com/mobile/latest/jquery.mobile.min.css" rel="stylesheet" type="text/css" />
<link href="templates/mobile/css/jquery.mobile.datebox.min.css" rel="stylesheet" type="text/css" />
<?php if(isset($_GET['products_id']) && $PHP_SELF != 'shopping_cart.php') { ?>
	<script type="text/javascript" src="templates/mobile/javascript/klass.min.js"></script>
	<script type="text/javascript"><?php include('cache/xajax.js') ?></script>
<?php
} elseif($PHP_SELF == 'checkout.php' || $PHP_SELF == 'shopping_cart.php'){
	echo '<script type="text/javascript">'."\n";
	include('cache/xajax.js');
	echo '</script>'."\n";
} ?>
<script type="text/javascript" src="//code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="templates/mobile/javascript/mobile.addon.js"></script>
<script type="text/javascript" src="//code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
<script type="text/javascript" src="templates/mobile/javascript/jquery.mobile.datebox.min.js"></script>
<?php if(isset($_GET['products_id']) && $PHP_SELF != 'shopping_cart.php') { ?>
	<link href="templates/mobile/css/ps.css" type="text/css" rel="stylesheet" />
	<script type="text/javascript" src="templates/mobile/javascript/products_info.js"></script>
	<script type="text/javascript" src="templates/mobile/javascript/code.photoswipe.jquery-3.0.4.min.js"></script>
	<script type="text/javascript">
		(function(window, $, PhotoSwipe){
			$(function(){
				$('div.gallery-page').live('pageshow', function(e){var currentPage = $(e.target),options = {},photoSwipeInstance = $("ul.gallery a", e.target).photoSwipe(options,currentPage.attr('id'));return true;}).live('pagehide', function(e){var currentPage = $(e.target),photoSwipeInstance = PhotoSwipe.getInstance(currentPage.attr('id'));if (typeof photoSwipeInstance != "undefined" && photoSwipeInstance != null){PhotoSwipe.detatch(photoSwipeInstance);}return true;});
			});
		}(window, window.jQuery, window.Code.PhotoSwipe));
		$(function(){$('#Popup').click();}); 
	</script>
<?php 
}elseif($PHP_SELF == 'checkout.php'){
	echo '<script type="text/javascript">'."\n";
	include('includes/javascript/js/checkout.js.php');
	echo $content;
	echo "\n".'</script>'."\n";
}